package com.xiaoxiao.regimen.provider;

import com.xiaoxiao.regimen.provider.RegimenContract.RawRegimenColumns;
import com.xiaoxiao.regimen.provider.RegimenContract.RegimenBaseInfoColumns;
import com.xiaoxiao.regimen.provider.RegimenContract.RegimenOptionsColumns;
import com.xiaoxiao.regimen.provider.RegimenContract.SyncColumns;

import android.net.Uri;
import android.provider.BaseColumns;

/**
 * Constants for the raw regimen table, which contains one row of regimen
 * information for each regimen type in each regimen types.
 * 
 * @author jaroad
 *
 */
public final class RawRegimen implements BaseColumns, RawRegimenColumns, RegimenBaseInfoColumns, RegimenOptionsColumns, SyncColumns {
    
    /**
     * This utility class cannot be instantiated
     */
    private RawRegimen() {
    }
    
    /**
     * The content:// style URI for this table, which requests a directory of
     * raw regimen rows matching the selection criteria.
     */
    public static final Uri CONTENT_URI = Uri.withAppendedPath(RegimenContract.AUTHORITY_URI, "raw_regimen");

    /**
     * The MIME type of the results from {@link #CONTENT_URI} when a specific
     * ID value is not provided, and multiple raw regimen may be returned.
     */
    public static final String CONTENT_TYPE = "vnd.android.cursor.dir/raw_regimen";

    /**
     * The MIME type of the results when a raw regimen ID is appended to {@link #CONTENT_URI}
     */
    public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/raw_regimen";

    /**
     * Aggregation mode: aggregate immediately after insert or update operation(s) are complete.
     */
    public static final int AGGREGATION_MODE_DEFAULT = 0;
    
}
